<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP '5.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <form action="result-5.jsp">
      <div>
        <span>用户昵称：</span>
        <input type="text" name="user" id="user">
      </div>
      <div>
        <span>密码：</span>
        <input type="password" name="pwd" id="pwd">
      </div>
      <div>
        <span>确认密码：</span>
        <input type="password" name="pwd" id="pwd">
      </div>
      <div>
        <span>性别：</span>
        <input type="radio" name="sex" id="sex" value="男">男
        <input type="radio" name="sex" id="sex" value="女">女
      </div>
      <div>
        <span>爱好：</span>
        <input type="checkbox" name="hobbies" id="hobbies" value="体育">体育
        <input type="checkbox" name="hobbies" id="hobbies" value="音乐">音乐
        <input type="checkbox" name="hobbies" id="hobbies" value="美术">美术
        <input type="checkbox" name="hobbies" id="hobbies" value="旅游">旅游
      </div>
      <div>
        <input type="submit" value="提交">
        <input type="reset" value="重置">
      </div>
    </form>
  </body>
</html>
